package com.cq.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 属性对象 sx_attr
 * 
 * @author cq
 * @date 2024-05-08
 */
public class SxAttr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    private Long attrId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 系列ID */
    @Excel(name = "系列ID")
    private Long seriesId;

    /** 系列名称 */
    @Excel(name = "系列名称")
    private String seriesName;

    public void setAttrId(Long attrId) 
    {
        this.attrId = attrId;
    }

    public Long getAttrId() 
    {
        return attrId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSeriesId(Long seriesId) 
    {
        this.seriesId = seriesId;
    }

    public Long getSeriesId() 
    {
        return seriesId;
    }
    public void setSeriesName(String seriesName) 
    {
        this.seriesName = seriesName;
    }

    public String getSeriesName() 
    {
        return seriesName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attrId", getAttrId())
            .append("name", getName())
            .append("remark", getRemark())
            .append("seriesId", getSeriesId())
            .append("seriesName", getSeriesName())
            .toString();
    }
}
